package com.erp.erp_mask.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.erp.erp_mask.pojo.TRoles;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author yang
* @description 针对表【t_roles】的数据库操作Mapper
* @createDate 2024-05-08 21:27:36
* @Entity com.erp.erp_mask.pojo.TRoles
*/
public interface TRolesMapper extends BaseMapper<TRoles> {
    //roleid查询
    List<TRoles> search(@Param("roleid") Integer roleid);

    //页面查询
    Page<TRoles> searchrole(@Param("rolename") String rolename, @Param("state") Integer state,Page page);


}




